<template>
  <div class="alumniCard">
    <!-- 蓝色卡片 -->
    <!-- <AlumniCard></AlumniCard> -->
    <div class="card_box">
      <div class="left">
        <div class="title">
          <div class="p2">都安高中</div>
          <span class="p3">校友卡</span>
        </div>
        <div class="message">
          <div class="m1">
            姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：王芳
          </div>
          <div class="m1">入学年份：2021年</div>
          <div class="m1">入学班级：初23班、高148班</div>
        </div>
      </div>
      <div class="right">
        <u--image
          :showLoading="true"
          :src="head"
          width="55px"
          height="65px"
        ></u--image>
      </div>
    </div>
    <!-- 按钮 -->
    <div
      class="btn_box"
      style="
        padding: 20px 10px;
        box-sizing: border-box;
        background: white;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        padding-bottom: 100px;
        border-top: 1px solid #e9e9ea;
      "
    >
      <button
        @click="goIndex"
        class="btn"
        style="background: #1990ff; color: white; border-radius: 10px"
      >
        添加至收藏
      </button>
    </div>
  </div>
</template>
<script>
import AlumniCard from "@/components/card/alumniCard";
export default {
  comments: {
    AlumniCard,
  },
  data() {
    return {
      head: "https://cdn.uviewui.com/uview/album/1.jpg",
      src: require("@/static/index/logo.png"),
    };
  },
};
</script>
<style lang="scss" scoped>
.card_box {
  width: 88%;
  height: 177px;
  background: url("../../static/index/card_1.png") no-repeat center/100% 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 15px;
  box-sizing: border-box;
  margin: 0px auto;
  margin-top: 20px;
  border-radius: 10px;
  .left {
    .title {
      display: flex;
      align-items: center;
      color: white;
      padding-left: 40px;
      .p2 {
        margin: 0px 15px 0px 10px;
        font-size: 18px;
      }
      .p3 {
        font-size: 12px;
        margin-top: 5px;
      }
    }
    .message {
      color: white;
      font-size: 12px;
      padding-left: 10px;
      margin-top: 27px;
      .m1 {
        line-height: 30px;
      }
    }
  }
}
</style>